SPI clock control register
CLKCNT_L | In the master mode it must be equal to SPI_CLKCNT_N. In the slave mode it must be 0. Can be configured in CONF state. |
CLKCNT_H | In the master mode it must be floor((SPI_CLKCNT_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state. |
CLKCNT_N | In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(SPI_CLKDIV_PRE+1)/(SPI_CLKCNT_N+1). Can be configured in CONF state. |
CLKDIV_PRE | In the master mode it is pre-divider of spi_clk. Can be configured in CONF state. |
CLK_EQU_SYSCLK | In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state. |